package com.ssy.bus.vo;

import com.ssy.bus.pojo.Production;
import com.ssy.common.Constant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ssy
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ProductionVo extends Production implements Serializable {
    private static final long serialVersionUID = 8864534472584965382L;

    private Integer page = Constant.PAGE;

    private Integer limit = Constant.LIMIT;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
